package it.tommasocortonesi.scjp.cap1;

/* legal interface declaration*/
public abstract interface InterfaceDeclaration {}


interface InterfaceDeclaration001{
	/* legal member declaration */
	int prop4 = 0;
	
//	All methods are by default public abstract 
//	All variables are public, static and final by default (only constants)

	
	/* illegal member declaration */
//	private int prop1;
//	protected int prop2;
//	int prop3;
//	final int prop4;
//	final void meth();
}

interface InterfaceDeclaration002 extends InterfaceDeclaration001 {}

interface InterfaceDeclaration005 extends InterfaceDeclaration001, InterfaceDeclaration002 {}

/* illegal interface declarations*/
//interface InterfaceDeclaration003 implements InterfaceDeclaration003{}
//public interface InterfaceDeclaration004 {}

